package cn.gson.boot.model.service;

import cn.gson.boot.model.dao.QuotationDao;
import cn.gson.boot.model.dao.QuotationdetailsDao;
import cn.gson.boot.model.mapper.QuotationDetailsMapper;
import cn.gson.boot.model.mapper.QuotationMapper;
import cn.gson.boot.model.mapper.SalesDetailsMapper;
import cn.gson.boot.model.pojos.*;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

@Service
@Transactional
public class QuotationDetailsService {
    @Autowired
    QuotationDetailsMapper quotationDetailsMapper;

    //报价明细查询
    public List<Quotationdetails> selectQuotationDetails(String search,String empName) {
        return quotationDetailsMapper.selectQuotationDetails(search,empName);
    }
}
